<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page session="false"%>
<html>
<head>
</head>
<body>
	<h1>用户编辑</h1>
	<c:url var="saveUrl" value="/user/edited?id=${user.id }" />
	<form:form modelAttribute="user" method="POST" action="/user/edited?id=${user.id }.action">
		<table>
			<tr>
				<td><form:label path="id">编号:</form:label>
				</td>
				<td><form:input path="id" disabled="true" />
				</td>
			</tr>

			<tr>
				<td><form:label path="username">姓名:</form:label>
				</td>
				<td><form:input path="username" />
				</td>
			</tr>

			<tr>
				<td><form:label path="password">密码</form:label>
				</td>
				<td><form:input path="password" />
				</td>
			</tr>

			<td><form:label path="email">邮箱</form:label>
			</td>
			<td><form:input path="email" />
			</td>
			</tr>
		</table>

		<input type="submit" value="Save" />
	</form:form>
</body>
</html>